package com.dayuanit.dy15.ebook.bookshop.service;

import com.dayuanit.dy15.ebook.bookshop.dto.CardDTO;
import com.dayuanit.dy15.ebook.bookshop.dto.OrderDTO;
import com.dayuanit.dy15.ebook.bookshop.vo.SettlementRequestVO;

import java.util.List;
import java.util.Map;

public interface OrderService {

    void createOrder(List<SettlementRequestVO> commoditys);

    List<CardDTO> listSettlement(List<SettlementRequestVO> commoditys);

    String createOrder(long userId, long addressId, int payChannel, List<SettlementRequestVO> commoditys);

    void processAlipayNotify(Map<String, String> notifyParam);

    void closeOrder(long orderId);

    List<OrderDTO> listOrder(long userId);

    List<OrderDTO> listOrder2(long userId);

    List<OrderDTO> listOrder3(long userId);
}
